package com.bjpowernode.enums;

public enum RespCode {

    OK(1000,"请求成功"),
    FAIL(1001,"请稍后重试"),
    LOGIN_NAME_PWD_ERROR(1002,"用户名或密码错误,请重新输入"),
    LOGIN_INTERNVAL_ERROR(1003,"系统内部异常"),
    LOGIN_PARAM_ERROR(1004,"请求参数错误");

    private Integer code;
    private String msg;


     RespCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
